<%@ tag import="com.aiwei.tdjk.utils.SpringUtils" %>
<%@ tag import="com.aiwei.tdjk.service.MemberActivityService" %>
<%@ tag pageEncoding="UTF-8"%>
<%@ attribute name="id" type="java.lang.Long" required="true" description="当前要展示的用户的id" %>
<!--通过活动查询活动参加人数-->
<%!private MemberActivityService memberActivityService;%>
<%
    if(memberActivityService == null) {
        memberActivityService = SpringUtils.getBean(MemberActivityService.class);
    }
    int count = memberActivityService.count(id);
    out.print(count);
%>
